package com.itetchologyandenglish.home.service;

import com.github.pagehelper.PageInfo;
import com.itetchologyandenglish.home.enetity.News;

import java.util.List;

public interface NewsService {
    PageInfo getNewsByNewstitleAndNewsdate(Integer pn, String newstitle, String newsdate, Integer limit,Integer deflag);

    News findNewsById(Integer id);

    boolean updatenews(News news);

    boolean delnews(Integer id);

    boolean savenews(News news);
}
